package com.movecar.utils;

import com.google.gson.Gson;
import com.movecar.model.CloudBeansBean;

/**
 * 根据result获得返回值公共类
 * 
 * @author Administrator
 *
 */
public class GetCloudBeans {
	private static CloudBeansBean resultBean;

	public static CloudBeansBean CloudBeans(String result) {
		Gson gson = new Gson();
		try {
			resultBean = gson.fromJson(result, CloudBeansBean.class);
		} catch (Exception e) {
			return null;
		}
		return resultBean;

	}
}
